package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShopCarService {

    //添加购物车
    public void addShoppingCar(ShoppingCartDTO shoppingCartDTO);
    //查询购物车
    List<ShoppingCart> showShoppingCar();
    //清空购物车
    void cleanShoppingCar();
    //删除一个商品
    void subShoppingCar(ShoppingCartDTO shoppingCartDTO);
}
